LEADTOOLS Medical (Leadtools.Medical.Caching assembly)
LEAD Technologies, Inc

Insert(String,Byte[],CacheItemPriority,String) Method






A System.String that identifies the item to be stored.
The an array of System.Byte to be inserted as the item information.
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.
Adds a new item into the user context store.
Syntax
void Insert( 
   string Id,
   byte[] data,
   CacheItemPriority priority,
   string dependency
)
'Declaration
 
Overloads Sub Insert( _
   ByVal Id As String, _
   ByVal data() As Byte, _
   ByVal priority As CacheItemPriority, _
   ByVal dependency As String _
) 
'Usage
 
Dim instance As IStorageProvider
Dim Id As String
Dim data() As Byte
Dim priority As CacheItemPriority
Dim dependency As String
 
instance.Insert(Id, data, priority, dependency)
void Insert( 
   string Id,
   byte[] data,
   CacheItemPriority priority,
   string dependency
)
function Leadtools.Medical.Caching.Storage.IStorageProvider.Insert(String,Byte[],CacheItemPriority,String)( 
   Id ,
   data ,
   priority ,
   dependency 
)
void Insert( 
   String^ Id,
   array<byte>^ data,
   CacheItemPriority priority,
   String^ dependency
) 

Parameters

Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
dependency
A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IStorageProvider Interface
IStorageProvider Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.